package com.daisuxia.web.pojo;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class RenewalRecord {
    private Integer id;

    private Integer userId;

    private Integer assetRepaymentId;

    private Long repaymentPrincipal;

    private Long sumFee;

    private Long repaymentInterest;

    private Integer planLateFee;

    private Integer renewalFee;

    private Date oldRepaymentTime;

    private Integer renewalDay;

    private Date updatedAt;

    private String remark;

    private Integer status;

    private Date repaymentTime;

    private Date createdAt;

    private Long moneyAmount;

    private String orderId;

    public static final Map<Integer, String> RENEWAL_STATUS = new HashMap<Integer, String>();
    /**
     * 付款中
     */
    public  static  final Integer STATUS_PAYING = 0;
    /**
     * 付款成功
     */
    public  static  final Integer STATUS_SUCC = 1;
    /**
     * 付款失败
     */
    public  static  final Integer STATUS_FAIL = 2;
    static{

        RENEWAL_STATUS.put(STATUS_PAYING, "待审核");
        RENEWAL_STATUS.put(STATUS_SUCC, "审核通过");
        RENEWAL_STATUS.put(STATUS_FAIL, "审核失败");
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAssetRepaymentId() {
        return assetRepaymentId;
    }

    public void setAssetRepaymentId(Integer assetRepaymentId) {
        this.assetRepaymentId = assetRepaymentId;
    }

    public Long getRepaymentPrincipal() {
        return repaymentPrincipal;
    }

    public void setRepaymentPrincipal(Long repaymentPrincipal) {
        this.repaymentPrincipal = repaymentPrincipal;
    }

    public Long getSumFee() {
        return sumFee;
    }

    public void setSumFee(Long sumFee) {
        this.sumFee = sumFee;
    }

    public Long getRepaymentInterest() {
        return repaymentInterest;
    }

    public void setRepaymentInterest(Long repaymentInterest) {
        this.repaymentInterest = repaymentInterest;
    }

    public Integer getPlanLateFee() {
        return planLateFee;
    }

    public void setPlanLateFee(Integer planLateFee) {
        this.planLateFee = planLateFee;
    }

    public Integer getRenewalFee() {
        return renewalFee;
    }

    public void setRenewalFee(Integer renewalFee) {
        this.renewalFee = renewalFee;
    }

    public Date getOldRepaymentTime() {
        return oldRepaymentTime;
    }

    public void setOldRepaymentTime(Date oldRepaymentTime) {
        this.oldRepaymentTime = oldRepaymentTime;
    }

    public Integer getRenewalDay() {
        return renewalDay;
    }

    public void setRenewalDay(Integer renewalDay) {
        this.renewalDay = renewalDay;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getRepaymentTime() {
        return repaymentTime;
    }

    public void setRepaymentTime(Date repaymentTime) {
        this.repaymentTime = repaymentTime;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Long getMoneyAmount() {
        return moneyAmount;
    }

    public void setMoneyAmount(Long moneyAmount) {
        this.moneyAmount = moneyAmount;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
}